package com.atguigu.crowd.service.api;

import com.atguigu.crowd.entity.Role;
import com.github.pagehelper.PageInfo;
import org.omg.PortableInterceptor.INACTIVE;

import java.util.List;

public interface RoleService {

    public PageInfo<Role> getPageInfo(Integer pageNum, Integer pageSize,String keyword);


    public void saveRole(Role role);


    public void updateRole(Role role);

    public void deleteRole(List<Integer> roelIdList);

    List<Role> getAssignRole(Integer adminId);

    List<Role> getUnAssignRole(Integer adminId);
}
